#include<stdio.h>
char c1, c2, c3;
int main()
{
	scanf("%c%c%c", &c1, &c2, &c3);
	//printf("%d %d", c1, c2);
	char n = c1+c3;
	printf("%d\n", n);
	return 0;
}
